| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

Static Public Member Functions | List of all members
nkGraphics::IndexFormatUtils Class Referencefinal

Provides utility functions around the INDEX_FORMAT enum. More...

## Static Public Member Functions
static nkMemory::StringView | toString (INDEX_FORMAT value)
static unsigned int | getFormatByteSize (INDEX_FORMAT format)

## Detailed Description

Provides utility functions around the INDEX_FORMAT enum.

## Member Function Documentation

## ◆ toString()

static nkMemory::StringView nkGraphics::IndexFormatUtils::toString | ( | INDEX_FORMAT | value | ) |
| static

Parameters

  value | The value to convert.

Returns
  The conversion of the enum into a string as a raw translation, for instance INDEX_FORMAT::UINT8 -> "UINT8".

## ◆ getFormatByteSize()

static unsigned int nkGraphics::IndexFormatUtils::getFormatByteSize | ( | INDEX_FORMAT | format | ) |
| static

Parameters

  format | The format to get the size of.

Returns
  The byte size of given format.

The documentation for this class was generated from the following file:

- Documentation/Headers/NilkinsGraphics/Meshes/Enums/IndexFormat.h